<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/mycss/test.css" type="text/css" rel="stylesheet"  media="screen" />
<link rel="stylesheet" href="resources/css/reset.css" type="text/css" media="screen" />
<!-- Main Stylesheet -->
<link rel="stylesheet" href="resources/css/style.css" type="text/css" media="screen" />
<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
<link rel="stylesheet" href="resources/css/invalid.css" type="text/css" media="screen" />
<link rel="stylesheet" href="resources/css/invalid.css" type="text/css" media="screen" />
<link rel="stylesheet" href="resources/css/jquery-ui-1.8.12.custom.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/mycss/my.css" type="text/css" media="screen" />
<link rel="stylesheet" href="resources/css/jquery.ui.all.css" type="text/css" media="screen" />
<!--                       Javascripts                       -->
<!-- jQuery -->
<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
<!-- jQuery Configuration -->
<script type="text/javascript" src="resources/scripts/simpla.jquery.configuration.js"></script>
<!-- Facebox jQuery Plugin -->
<script type="text/javascript" src="resources/scripts/facebox.js"></script>
<!-- jQuery WYSIWYG Plugin -->
<script type="text/javascript" src="resources/scripts/jquery.wysiwyg.js"></script>
<!-- jQuery Datepicker Plugin -->
<script type="text/javascript" src="resources/scripts/jquery-ui.js"></script>

<script type="text/javascript" src="resources/scripts/jquery.ui.datepicker-zh-CN.js"></script>



<script>

$(document).ready(function(){
	initDate();
	initObj();
});
function initObj(){
	var jyzt="${ddxxBean.jyzt}";
	var pageNum="${pageNumSet}"
	$("#jyzt_select_"+jyzt).attr("selected","selected");
	$("#pageNumFinSeleft_"+pageNum).attr("selected","selected");
	
}
function initDate(){
	$("#beginTime").attr("readonly", "true").datepicker();
	$("#endTime").attr("readonly", "true").datepicker();
}
function changePageNumfin(num){
	$("#pageNumSet").val(num);//设置要去的页数
	submitForm();
}
function submitForm(){
	$("#searchBoxSubmitid").submit();
}

</script>




<#assign s=JspTaglibs["/WEB-INF/tld/struts-tags.tld"] />

<title>无标题文档</title>
</head>

<body>

  <div id="main-content">
    <!-- Main Content Section with everything -->
    <noscript>
    <!-- Show a notification if the user has disabled javascript -->
    </noscript>
    <!-- End .clear -->
          <!-- Start Content Box -->
      <div class="content-box column-left">
      <div class="content-box-header">
        <h3>检索条件</h3>

      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab">

        <form id="searchBoxSubmitid" action="listDdxxgl.action" method="post" class="myForm">
        <input id="gotopageNumId" type="hidden" name="cpage" value="1"/>
         <input id="pageNumSet" type="hidden" name="pageNumSet" value="20"/>
        <span><b>交易状态：</b>
                  <select class="myinputStyle" name="ddxxBean.jyzt" >
          		<option id="jyzt_select_0" value="0" onclick="submitForm()">所有类别</option>
          		 <option id="jyzt_select_1" value="1" onclick="submitForm()">未付款</option>
          		 <option id="jyzt_select_2" value="2" onclick="submitForm()">已付款</option>
          		 <option id="jyzt_select_3" value="3" onclick="submitForm()">交易成功</option>
          		 <option id="jyzt_select_4" value="4" onclick="submitForm()">交易作废</option>
          </select>
          <span style="margin-left:50px;">
          <b>时间范围：</b>
               <input  class="text-input mysmall-input"  style="width:80px;" type="text" id="beginTime" name="ddxxBean.beginTime" />至
               <input  class="text-input mysmall-input" style="width:80px;"  type="text" id="endTime" name="ddxxBean.endTime" />
               </span>
          </span><br/><br/><br/>
          <span>
          <b>订单编号，收货人姓名，联系电话</b>
         <input  class="text-input small-input" type="text" id="small-input" name="ddxxBean.searchString" />
         <input class="button" type="submit" value="检索" />
         <span style="margin-left:30px;">
                  <b>排序方式</b>
         <select class="myinputStyle" name="">
        
       		 <option id="" value="" onclick="">排序方式</option>
       	
       	 </select>
   	    	  每页显示
             <select>
               <option value="5" onclick="changePageNumfin(5)" id="pageNumFinSeleft_5">5</option>
               <option value="10" onclick="changePageNumfin(10)" id="pageNumFinSeleft_10">10</option>
               <option value="15" onclick="changePageNumfin(15)" id="pageNumFinSeleft_15">15</option>
               <option value="20" onclick="changePageNumfin(20)" id="pageNumFinSeleft_20">20</option>
               <option value="30" onclick="changePageNumfin(30)" id="pageNumFinSeleft_30">30</option>
               <option value="40" onclick="changePageNumfin(40)" id="pageNumFinSeleft_40">40</option>
               <option value="50" onclick="changePageNumfin(50)" id="pageNumFinSeleft_50">50</option>
             </select>
            	 条数据
		</span>
          </span>
          </form>
        </div>
        <!-- End #tab3 -->
      </div>
      <!-- End .content-box-content -->
    </div>
    <div style="clear:both;"></div>
    <div class="content-box">
      <div class="content-box-header">
        <h3>商品列表</h3>
        <ul class="content-box-tabs">
          <li></li>
          <!-- href must be unique and match the id of target div -->
          <li></li>
        </ul>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
              <a href="loadSpxxgl.action"  title="添加">添加</a>
          <table>
            <thead>
              <tr>
                <th>订单编号</th>
                <th>成交时间</th>
                <th>收货人</th>
                <th>联系电话</th>
                <th>交易总额</th>
                <th>交易状态</th>
                <th>操作</th>
              </tr>
            </thead>
 			<tfoot>
              <tr>
                <td colspan="6">
                  <div class="bulk-actions align-right" >
                    <select name="dropdown">
                      <option value="option1"></option>
                    </select>
                    </div>
                  <div class="pagination">
                  <span>共有<b></b>条数据,当前<b></b></span>
                   <a href="#" title="First Page" onclick="goToPage(1)">&laquo; 首页</a><a id="uppageid" href="#" title="Previous Page" onclick="upye()">&laquo; 上一页</a><a href="#" onclick="downye()" title="Previous Page">下一页 &raquo; </a><a href="#" title="Last Page" onclick="goToPage()">末页 &raquo;</a> </div>
                  <!-- End .pagination -->
                  <div class="clear"></div>
                </td>
              </tr>
            </tfoot>

              <@s.iterator id="ddxx" value="lstDdxx">	
              <tr>
                <td><@s.property value='#ddxx.ddxxid'/></td>
                <td><@s.property value='#ddxx.ddjlsj'/></td>
                <td><@s.property value='#ddxx.shrxm'/></td>
                <td><@s.property value='#ddxx.sjhm'/></td>
                <td><@s.property value='#ddxx.jyze'/></td>
                <td>
                	<@s.if test="#ddxx.jyzt==1">
               		 <@s.property value="'未付款'"/>
					</@s.if>
                	<@s.elseif test="#ddxx.jyzt==2">
                	<a href="loadDdxxgl.action?ddxxid=<@s.property value='#ddxx.ddxxid'/>"> <@s.property value="'已付款'"/></a>
                	</@s.elseif>
                	<@s.elseif test="#ddxx.jyzt==3">
                	 <@s.property value="'交易成功'"/>
                	</@s.elseif>
                	<@s.elseif test="#ddxx.jyzt==4">
                	 <@s.property value="'交易作废'"/>
                	</@s.elseif>
                </td>
                <td>
                  <!-- Icons -->
                  <a href="#" title="Edit"><img src="images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete" onclick=""><img src="images/icons/cross.png" alt="Delete"  /></a> <a href="loadDdxxgl.action?ddxxid=<@s.property value='#ddxx.ddxxid'/>"  title="Edit Meta"><img src="images/icons/hammer_screwdriver.png" alt="处理" /></a> </td>
              </tr>
            </@s.iterator>
            </tbody>
          </table>
        </div>
        <!-- End #tab1 -->
        <div class="tab-content" id="tab2"></div>
        <!-- End #tab2 -->
      </div>
      <!-- End .content-box-content -->
    </div>
    <!-- End .content-box --><!-- Start Notifications --><!-- End Notifications -->
<div id="footer"> <small>
      &#169; Copyright 2011 Your Company | Powered by <a href="#">kimxc11@gmail.com</a> | <a href="#">Top</a> </small> </div>
  <!-- End #footer -->
  
  
    <div id="messages" style="display: none">
          <form id="saveXxFrom" action="saveXx.action" method="post">
          <input type="hidden" name="xxBean.fxxid" value="0"/>
          <fieldset style="margin-top:20px;" >
          <label class="search_lable">菜单名</label>
         <input class="search_myself" name="xxBean.xxm" type="text"/>
          </fieldset>
          <fieldset style="margin-top:20px;">
          <label class="search_lable" >排&nbsp;&nbsp;&nbsp;序</label>
          <input class="search_myself" name="xxBean.px" type="text"/>
          </fieldset>
           <fieldset style="margin-top:20px;">
          <input class="button" type="submit" value="保存" />
          </fieldset>
        </form>
      </div> 
</div>

</body>
</html>
